package com.chen.Sign.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chen.Sign.pojo.Blog_comment;
import org.springframework.stereotype.Repository;

@Repository
@SuppressWarnings({"all"})
public interface Blog_commentMapper extends BaseMapper<Blog_comment> {

    // 发表评论后，评论数增加
    int addCommentNum(int blogId);

    // 删除评论后，更新评论数
    int reduceCommentNum(int blogId);
}
